class VueButton(object):
    """
    根据按钮名称获取按钮
    使用方法：
        btn = VueButton("添加")
    """

    def __init__(self, name):
        self.name = name

    def __get__(self, instance, owner):
        self.driver = instance.driver
        return instance.get_btn(self.name)